import { ProForm, ProFormDependency, ProFormRadio, ProFormSelect, ProFormText, ProFormTextArea } from "@ant-design/pro-components"
import { useDictOptions } from "@/hooks"
const DataSubjectForm = () => {
  let { data: typeOptions } = useDictOptions('data_subject_type')
  return <>
    <ProForm.Item name='id' hidden></ProForm.Item>

    <ProFormText
      name="themeName"
      label="主题名称"
      placeholder="请输入主题名称"
      rules={[{ required: true, message: '请输入主题名称' }]}
    />
    <ProFormSelect
      name="themeType"
      label="主题类型"
      placeholder="请选择主题类型"
      rules={[{ required: true, message: '请选择主题类型' }]}
      options={typeOptions}
    />
    <ProFormTextArea
      rows={4}
      name="themeRemark"
      label="主题描述"
      placeholder="请输入内容"
    />
  </>
}



export default DataSubjectForm